import Vue from 'vue';
import VueRouter from "vue-router";
import Router from 'vue-router'
import Profile from "@/components/userCenter/router/Profile.vue"
import Account from "@/components/userCenter/router/Account.vue"
import AccountPassword from "@/components/userCenter/AccountPassword.vue";


Vue.use(Router)  //Vue全局使用Router
export default new VueRouter({
  linkActiveClass: 'active',

  routes:[
      // 个人中心
      {
        path:"/",
        name:"个人资料",
        component:Profile
      },
      {
        path:"/Account",
        name:"账号设置",
        component:Account,
      },

      {
          path:"/Account/password",
          name:'修改密码',
          component:AccountPassword
      }




  ]

})